
package logic.dao;

import logic.beans.Composition;

public class CompositionDAO extends AbstractDBElementDAO<Composition,Long> {
	@Override
	public void doUpdate(Composition oldComposition,Composition newComposition) {
		oldComposition.setDescription(newComposition.getDescription());
		oldComposition.setQuantity(newComposition.getQuantity());
		oldComposition.setUnit(newComposition.getUnit());
	}
}
